// Diagnosis.java
package com.projects.modular.realty.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 疼痛记录实体类
 *
 * @author 曾大顺
 * @since 2025-02-11
 */
@Data
@TableName("t_diagnosis")
@ApiModel("疼痛记录")
public class Diagnosis implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 诊断ID
     */
    @TableId(value = "diagnosis_id", type = IdType.UUID)
    @ApiModelProperty("诊断ID")
    private String diagnosisId;

    /**
     * 孩子id
     */
    @TableField("child_id")
    @ApiModelProperty("孩子ID")
    private String childId;

    /**
     * 疼痛级别
     */
    @TableField("pain_level")
    @ApiModelProperty("疼痛级别")
    private String painLevel;

    /**
     * 疼痛部位
     */
    @TableField("pain_part")
    @ApiModelProperty("疼痛部位")
    private String painPart;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
